package nu.board.model;

import java.util.List;

import org.springframework.web.multipart.MultipartFile;

public class BoardVO {
	private int no;
	private String title;
	private String content;
	private String time_posted;
	private int hits;
	private String orgfilename;
	private String savefilename;
	private MultipartFile uploadFileForBoard;
	private String category;
	private String id;
	private String group_type;
	private int group_id;
	private int confirmation;
	private String nick_name;
	private List<String> confirmedIdList;
	public BoardVO() {
		super();
	}
	public BoardVO(int no, String title, String content, String time_posted,
			int hits, String orgfilename, String savefilename,
			MultipartFile uploadFileForBoard, String category, String id,
			String group_type, int group_id, int confirmation, String nick_name, List<String> confirmedIdList) {
		super();
		this.no = no;
		this.title = title;
		this.content = content;
		this.time_posted = time_posted;
		this.hits = hits;
		this.orgfilename = orgfilename;
		this.savefilename = savefilename;
		this.uploadFileForBoard = uploadFileForBoard;
		this.category = category;
		this.id = id;
		this.group_type = group_type;
		this.group_id = group_id;
		this.confirmation=confirmation;
		this.nick_name=nick_name;
		this.confirmedIdList=confirmedIdList;
	}
	public int getNo() {
		return no;
	}
	public void setNo(int no) {
		this.no = no;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getTime_posted() {
		return time_posted;
	}
	public void setTime_posted(String time_posted) {
		this.time_posted = time_posted;
	}
	public int getHits() {
		return hits;
	}
	public void setHits(int hits) {
		this.hits = hits;
	}
	public String getOrgfilename() {
		return orgfilename;
	}
	public void setOrgfilename(String orgfilename) {
		this.orgfilename = orgfilename;
	}
	public String getSavefilename() {
		return savefilename;
	}
	public void setSavefilename(String savefilename) {
		this.savefilename = savefilename;
	}
	public MultipartFile getUploadFileForBoard() {
		return uploadFileForBoard;
	}
	public void setUploadFileForBoard(MultipartFile uploadFileForBoard) {
		this.uploadFileForBoard = uploadFileForBoard;
	}
	public String getCategory() {
		return category;
	}
	public void setCategory(String category) {
		this.category = category;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getGroup_type() {
		return group_type;
	}
	public void setGroup_type(String group_type) {
		this.group_type = group_type;
	}
	public int getGroup_id() {
		return group_id;
	}
	public void setGroup_id(int group_id) {
		this.group_id = group_id;
	}
	
	public int getConfirmation() {
		return confirmation;
	}
	public void setConfirmation(int confirmation) {
		this.confirmation = confirmation;
	}
	public String getNick_name() {
		return nick_name;
	}
	public void setNick_name(String nick_name) {
		this.nick_name = nick_name;
	}
	
	public List<String> getConfirmedIdList() {
		return confirmedIdList;
	}
	public void setConfirmedIdList(List<String> confirmedIdList) {
		this.confirmedIdList = confirmedIdList;
	}
	@Override
	public String toString() {
		return "BoardVO [no=" + no + ", title=" + title + ", content="
				+ content + ", time_posted=" + time_posted + ", hits=" + hits
				+ ", orgfilename=" + orgfilename + ", savefilename="
				+ savefilename + ", uploadFileForBoard=" + uploadFileForBoard
				+ ", category=" + category + ", id=" + id + ", group_type="
				+ group_type + ", group_id=" + group_id + ", confirmation="
				+ confirmation + ", nick_name=" + nick_name
				+ ", confirmedIdList=" + confirmedIdList + "]";
	}
	
}
